package com.example.tupu.entity;//package com.example.tupu.entity;
//
//import com.example.tupu.relationship.ReAssociatedPerson;
//import org.springframework.data.neo4j.core.schema.GeneratedValue;
//import org.springframework.data.neo4j.core.schema.Id;
//import org.springframework.data.neo4j.core.schema.Node;
//import org.springframework.data.neo4j.core.schema.Relationship;
//
//import java.io.Serializable;
//import java.util.ArrayList;
//import java.util.List;
//
////@ApiModel
//@Node
////@Data
//public class AssociatedPerson implements Serializable {
//    @Id
//    @GeneratedValue
//    private Long id;
////    @ApiModelProperty("名称ID")
//    private String indexId;
////    @ApiModelProperty("名称")
//    private String title;
//
//    @Relationship(type = "SOCIETY_IN", direction = Relationship.Direction.INCOMING)
//    private List<ReAssociatedPerson> reAssociatedPersonList = new ArrayList<>();
//    public AssociatedPerson() {
//    }
//
//    public AssociatedPerson(String indexId, String title) {
//        this.indexId = indexId;
//        this.title = title;
//    }
//
//    public Long getId() {
//        return id;
//    }
//
//    public void setId(Long id) {
//        this.id = id;
//    }
//
//    public String getIndexId() {
//        return indexId;
//    }
//
//    public void setIndexId(String indexId) {
//        this.indexId = indexId;
//    }
//
//    public String getTitle() {
//        return title;
//    }
//
//    public void setTitle(String title) {
//        this.title = title;
//    }
//
//    public List<ReAssociatedPerson> getReAssociatedPersonList() {
//        return reAssociatedPersonList;
//    }
//
//    public void setReAssociatedPersonList(List<ReAssociatedPerson> reAssociatedPersonList) {
//        this.reAssociatedPersonList = reAssociatedPersonList;
//    }
//}
